package com.itheima.service.mongo;

import com.itheima.vo.PageBeanVo;

public interface FriendService {

    //在mongo的friend表中储存好友关系
    void save(Long userId, Long friendId);

    //查询联系人
    PageBeanVo findContact(Long userId, Integer pageNum, Integer pageSize);

    //删除两人好友关系
    void delete(Long userId, Long likeUserId);
}
